﻿
%page inherit Index;
%page route "contact";

%using System;
%using NetFluid;
%using MongoDB.Driver.Builders;

%override Body
<div class="content" style="background-color:{%rand_color()%};">
    <h1>Contact</h1>
    <div>
        <form action="/contact" method="post">
            <label>Name</label><input type="text" name="name" placeholder="Name" size="48" />
            <br />
            <label>EMail</label><input type="mail" name="mail" placeholder="EMail" size="48" />
            <br />
            <label>Telephone</label><input type="text" name="telephone" placeholder="Telephone" size="48" />
            <br />
            <h2>Message</h2>
            <br />
            <textarea name="message" cols="64" rows="7"></textarea>
            <input type="submit" value="Send" />
        </form>
    </div>
</div>

%end override 